Update the view.