SimulationUpdate

Made changes to simulation code