template version upgrade