rename subtemplate