updated the event interface