update content and styling