update stepper motor driver