update page num type