Updated anomaly detection