Updating the API to the new API

JAVA-1325
all the other expected operations are inline, why not this one too?