cross correlation update