updated template and css