update content and structure