update the css and templates