Update simulate.h