Updated the API