update

suspend fun update(transform: (T) -> T)

Update settings with a transform function