Update to template