updating how to import the API calls