fix updated event trigger