updated event manager and some of twig hooks