add new metrics and update metrics