update content and CSS