update page size