title: (node:71307) [DEP0079] DeprecationWarning
body: <p>Try to update MongoDB document Getting Deprecation Warning as </p>
  
  <blockquote>
    <p>(node:71307) [DEP0079] DeprecationWarning: Custom inspection function
    on Objects via .inspect() is deprecated</p>
  </blockquote>
  
  <p>Node version v10.5.0, 
  db version v3.6.5, 
  Mongoose version mongoose@4.1.12</p>
  
  <pre><code>Campground.findById(campgroundId, function(err, campground){
      if(err){
          console.log(err);
      } else {
          console.log(campground.celebrity);
          Celebrity.create(celebrityData, function(err, celebrity){
              if(err){
                  console.log(err);
              } else {
                  //save comment
                  celebrity.save();
                  campground.celebrity.push(celebrity);
                  campground.save();
                  console.log(celebrity);
                  //req.flash('success', 'Created a comment!');
              }
          });
      }
  });
  </code></pre>