updated integrator