Updating the API to the new API

JAVA-1325
It's more that you need the driver module jar to do it.