updated the metric template