update content and style