update the page size