updated template files and global styles