update to use paged API results