updating parameters for the whitening