updates to main view