update position by stopping