updated pagination hooks, still to come ui