updated api, split into more pages