updated the metrics