update event-spec