fix to document root and update twig templates