updating docs for API