Updating documentation of the API