update css and picmap