Modify pulls calls to use cursor based paging