Updates to data/pagination

to fix pagination