updated the view.