update event buffer