update twig extension