Time Series Metadata add field - Mongo 6.0 copy from non-meta field

Hi, Appreciate your insights. Looking at the link provided , $set is allowed. As in my original post, second command I have tried uses update many with $set. However, the results are same. It adds the meta field but sets it to string “$registerId” instead of value of the field registerId.

db.litmusDataPoint.updateMany({}, {$set: {"Metadata.registerId": "$registerId"}})