update the main page content