update css on map