fix for Page templates update