How to update handler in Kotlin