Update a calculated metric

Updates an existing calculated metric definition or metadata.