modify the metric config