Updates to the pagination