updating the driver to api changes