Update the template files