Database
[{"CurrentVersion":3,"EntryHistory":[{"State":0,"ProposalPlan":[{"Description":"Test","State":1,"Proposals":[{"Subject":"Test","Body":"Test","Urls":[{"Description":"Link text","Address":"https://examplelink0.com"},{"Description":"Link text","Address":"https://examplelink1.com"},{"Description":"Link text","Address":null},{"Description":"Link text","Address":"https://examplelink3.com"},{"Description":"Link text","Address":"https://examplelink4.com"}]},{"Subject":"Test","Body":"Test","Urls":[{"Description":"Link text","Address":"https://proposals0.com"},{"Description":"Link text","Address":"https://proposals11.com"}]}]}]}]},{"CurrentVersion":3,"EntryHistory":[{"State":0,"ProposalPlan":[{"Description":"Test","State":2,"Proposals":[{"Subject":"Test","Body":"Test","Urls":[{"Description":"Link text","Address":"https://examplelink0.com"},{"Description":"Link text","Address":"https://examplelink1.com"},{"Description":"Link text","Address":"Not null value"},{"Description":"Link text","Address":"https://examplelink3.com"},{"Description":"Link text","Address":"https://examplelink4.com"}]},{"Subject":"Test","Body":"Test","Urls":[{"Description":"Link text","Address":"https://proposals0.com"},{"Description":"Link text","Address":"https://proposals11.com"}]}]}]}]}]
Query
db.collection.update({"EntryHistory.ProposalPlan.State":1,},{$set:{"EntryHistory.$[].ProposalPlan.$[x].State":3,"EntryHistory.$[].ProposalPlan.$[x].Proposals.$[].Urls.$[].Address":"NewAddress"},},{"arrayFilters":[{"x.State":1}],multi:true})