track anomalies in the database