updating API calls