update event and timer handler