working out doApiCallsUpdateCache