update page numbers