updates main page content