update the page layout