update

abstract suspend fun update(getDocumentResponse: SourceInformation, updateBlock: (T) -> T)
abstract suspend fun update(id: String, original: T, ifSeqNo: Int, ifPrimaryTerm: Int, updateBlock: (T) -> T)