update main view page