upd model & twig extension