Working on updating with the last page number