updating the page content