Update Regulator.cs