Update thresholds and new histograms.