Update metric interface
unified metric calculation