Changed eventManager statements to match current working database