I have a collection called 'content' includs a big number of documents like this
{"_id":"5e01043e9fde7f33b8133b2d",
"name":"home",
"documentTypeId":"5df01430600e2258382ffb9c",
"parentContnetId":"",
"active":true,
"published":false,
"Url":"/home",
"dataTypes":[],
"__v":0},
{"_id":"5e01045e9fde7f33b8133b2e",
"name":"subhome",
"documentTypeId":"5df01430600e2258382ffb9c",
"parentContnetId":"",
"active":true,
"published":false,
"Url":"/home/subhome",
"dataTypes":[],
"__v":0},
{"_id":"5e01045e9fde7f33b8133b2d",
"name":"subsubhome",
"documentTypeId":"5df01430600e2258382ffb9c",
"parentContnetId":"",
"active":true,
"published":false,
"Url":"/home/subhome/subsubhome",
"dataTypes":[],
"__v":0},
{"_id":"5e01045e9fde7f33b8133b2a",
"name":"subhome2",
"documentTypeId":"5df01430600e2258382ffb9c",
"parentContnetId":"",
"active":true,
"published":false,
"Url":"/home/subhome2",
"dataTypes":[],
"__v":0},
{"_id":"5e01045e9fde7f33b8133b2b",
"name":"subsubhome",
"documentTypeId":"5df01430600e2258382ffb9c",
"parentContnetId":"",
"active":true,
"published":false,
"Url":"/home/subhome2/subsubhome",
"dataTypes":[],
"__v":0}
I want to update the 'Url' field for all of them so I want to replace each '/home' with '/start'. I don't want to get all documents and then update them in node js and after that save each document individually. is there any way to update them throw MongoDB or mongoose will be better without using MongoDB shell, I mean dynamically ?