updated the event manager class