template renaming