Update Metrics Chart SQL