updated the template files