Updated the api documentation