@startuml actor "Content Provider" as CS participant "Document Administrator" as DS participant "Document Repository" as DR participant "Document Registry" as DReg CS -> DS: Trigger to replace existing document DS -> DS: Prepare updated document and metadata DS -> DR: Send update request (ITI-57) DR -> DR: Process request DR -> DReg: Send update request with metadata (ITI-57) DReg -> DReg: Validate metadata DReg -> DReg: Create new set of metadata DReg -> DReg: Update availabilityStatus for existing document DReg -> DR: Return successful response (ITI-57) DR -> DR: Replace documents DR -> DS: Return successful response (ITI-57) @enduml