code: @Override
      public synchronized int update(T dto) throws Exception {
          return db.update(transformer.getTableName(), transformer.transform(dto),transformer.getWhereClause(dto), null);
      }
docs: Convenience method for updating rows in the database.
  
  @param dto object
  @return the number of rows affected
  @throws Exception on error