update css and template