rename a template