update content, update layout