update content and css