I could reproduce the problem on my side when I perform the following update operation, this indicates that I have successfully updated the data.

But if I request data, I find that it is billForMonthnot being updated.

If I update a field without an array (e.g. a field location), it works fine.
db.testc1.update(
{claims: { $elemMatch: { id:1000 }}},
{$set:{"location":"pune1"}}
)
, cosmos db: mongo api , . .
