Add helper for updating main view.