updates in the spearson correlation