Update stress.r