update css and tpl