code: public static int updateAll(String updates, Object ... params) {
          return ModelDelegate.updateAll(modelClass(), updates, params);
      }
docs: Updates all records associated with this model.
  
  This example :
  <pre>
  Employee.updateAll("bonus = ?", "10");
  </pre>
  In this example, all employees get a bonus of 10%.
  
  
  @param updates - what needs to be updated.
  @param params list of parameters for both updates and conditions. Applied in the same order as in the arguments,
  updates first, then conditions.
  @return number of updated records.