added update pairs function and vols