changing a template