[DOC] update documentation to reflect change to API