updated sonar driver to reconfigure on the fly