updated the simulator