refresh RegulatedMotor.java