update index: add anomaly detection