Updating page numbers