Change a template