Updating documentation of API