updated corred template file