adding refresh button to metrics