Update the API calls to fog.