update multivariance