title: How to update same field of all documents in collection in mongoose
body: <p>i have this collection (not exactly what I have, just for example). I want to update all "numberOfViewsPerWeek" field into 0 just like reset.</p>
  
  <pre><code>{
      "_id" : ObjectId("594d2359bf170b0828690bf7"),
      "owner" : ObjectId("594c126285f0922a985083c1"),
      "numberOfViewsSincePost" : 15,
      "numberOfViewsPerWeek" : 4,
  }
  
  {
      "_id" : ObjectId("594d709addb8691cf067fa73"),
      "owner" : ObjectId("594c126285f0922a985083c1"),
      "numberOfViewsSincePost" : 10,
      "numberOfViewsPerWeek" : 2,
  }
  
  {
      "_id" : ObjectId("764d709addb8691cf067fa70"),
      "owner" : ObjectId("594c126285f0922a985083c1"),
      "numberOfViewsSincePost" : 12,
      "numberOfViewsPerWeek" : 7,
  }
  ...
  </code></pre>
  
  <p>I'd try to use update but it only update the first document, my code is this</p>
  
  <pre><code>Property.update({}, {'$set': {'numberOfViewsPerWeek' : 0}}, function(error, properties){
  
          if(error){
              console.log(error);
          }
  
          if(!properties){
              console.log('Something went wrong');
          }
  
          console.log('success update view');
      });
  </code></pre>
  
  <p>what should I do? thanks in advance</p>