update content and view