updated the getting of event types