I do not think that dot notations for arrays is compatible for update with aggregation, like your


[ { $set : ... } ]

When I need to work on a specific array element, like facilators.0, I use $slice to isolate the element I want to work with, then $concatArrays to reassemble the array.

It usually gives tidier code compared to $map.