Update Regulator.java