Logging the data

It should be an updateMany(X), no ?
Same query you already have and update = {$set: {status: "wait"}}

See the doc here: