[skip ci] Updating docs to reflect api change