update pearson distance.