store motor_max_step to table