update css and code