updating main page content