title: Update database with Parse Cloud Code
body: <p>I have this Parse cloud job </p>
  
  <pre><code>Parse.Cloud.job("AuthorSearchField", function(request, response) {
  
      //get all author
      var testItemsQuery = new Parse.Query("Author");
      //for each item
      testItemsQuery.each(function (testItem) {
        //set search field
        testItem.set("searchField",testItem.get("name").toLowerCase());
        testItem.save()
      }).then(function() {
        response.success("Set searchField");
      }, function(error) {
        response.error("Uh oh, something went wrong.");
      });
  });
  </code></pre>
  
  <p>This job is used to fill "searchField" with content of "name"</p>
  
  <p>I execute this job and everything is fine :</p>
  
  <p><a href="https://i.stack.imgur.com/s5t9o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s5t9o.png" alt="enter image description here"></a></p>
  
  <p>But, nothing is updated in base database</p>
  
  <p><a href="https://i.stack.imgur.com/ldPvH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ldPvH.png" alt="enter image description here"></a></p>
  
  <p>What is wrong with my code?</p>