main view update