code: public static int update(String updates, String conditions, Object ... params) {
          return ModelDelegate.update(modelClass(), updates, conditions, params);
      }
docs: Updates records associated with this model.
  
  This example :
  <pre>
  Employee.update("bonus = ?", "years_at_company > ?", "5", "10");
  </pre
  In this example, employees who worked for more than 10 years, get a bonus of 5% (not so generous :)).
  
  
  @param updates - what needs to be updated.
  @param conditions specifies which records to update. If this argument is <code>null</code>, all records in table will be updated.
  In such cases, use a more explicit {@link #updateAll(String, Object...)} method.
  @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.