Updating documentation for API