updated alicephp twig hoooks