Database
[{"NAME":"Peter Parker","NUMBER":"6882859392"},{"NAME":"Jhon Ripper","NUMBER":"9285346361"},{"NAME":"James","NUMBER":"8754859390"}]
Query
db.collection.aggregate([{$set:{NUMBER:{$concat:["*****",{$substrCP:["$NUMBER",5,{$strLenCP:"$NUMBER"}]},]}}}])