fixing motor speed and direction config update

so speed and direction config settings can be changed while a motor is
moving.