[Ext] updating Twig extension for #1439