update in main view.