app.post('/pari', function (req, res, next) {
Pari.findById("55058fc4e9cbc78c1b9973d2", function(err, par){
console.log(par);
});
Pari.findByIdAndUpdate("55058fc4e9cbc78c1b9973d2", {date: Date.now, active: true}, function(err, curPari){
console.log(curPari);
});
});
Pari.findByIdAndUpdate("55058fc4e9cbc78c1b9973d2", {$set:{date: Date.now, active: true}}, function(err, curPari){
console.log(curPari);
});