Update CmsExtension for twig