Update double pendulum