update Metric Calculator class diagram