update event listener