update template and css