update

suspend fun update(key: K, persistIntoRepository: Boolean = true, isContainedInCache: suspend (cacheValue: V?) -> Boolean = { it != null }, onPersist: suspend (newValue: V?) -> Unit = {}, updater: suspend (oldValue: V?) -> V?)