updates
fix pagination in api