update

fun <T : AGObject> T.update(block: (T) -> Unit)