updating simulation
updating simulation