lookoutmetrics_update_anomaly_detector function

Updates a detector