Fix Major version number and page refresh on change template