Updated the template file