update the motors driver.