change a template