Update the prevPage and nextPage of the PageIndexHeader