update templates and other files