updates page content