updated template and files