In migration script entries get updated one at a time. Use an updateMany function instead
In migration script entries get updated one at a time. Use an updateMany function instead