How to add new field in every documents ?
db.your_collection.update({},
{$set : {"new_field":1}},
{upsert:false,
multi:true})
db.your_collection.update({},
{$set : {"new_field":1}},
{upsert:false,
multi:true})