I want to make an update query for multiple subdocuments at once. I will be setting all the subdocuments statuses to passive where they satisfy the condition I give on query. <
Not so sure about what do you want, but if I were right, what you want may be $elemMatch.
Refer to MongoDB Update Manual , and $elemMatch
When you wanna query into embedded documents, you can't use $and and $or directly, this is some kind of 'bug' of mongodb.