edit metric