Updated anomaly detection.