Update Simulator.java