update the stress test code.