updating files and templates