update a view.