Update dependencies and fix flake
WIP: internal pagination for large fetches.