update main page view