How to update an element in an highly embedded document with pymongo

I’m trying to update an embedded field in a MongoDB document using pymongo.

Must be done with pymongo to productionalize the Alteryx workflow to work on different environments.

What we need to update are all embedded. In the below picture, it’s Revisions.Applications.MetaInfo.Name, where Revisions and Applications are both arrays (this particular example is zero index on both, but could be any number.

How can I write to just the “Name” element, in a very specific index of Revisions and Applications array?

Thank you!!