updated the view