updated API documentation to reflect latest changes