updating event types