Update motor driver to support multi-adaptors