update API documentation.