Update a calculated metric

Updates an existing calculated metric with new definition or metadata.