update view.