update example event handler