Try this.May need small modifications based on your other variables but I think this will work. db.students.update( { first_name: 'AA' }, { $set: { "cours_reussis.0.name_school": 'ENSA' } } )