code: public ConfigurationRecord updateConfiguration (final String key, final ConfigField[] updates)
          throws ServiceException
      {
          requireAdminUser();
  
          final ServletWaiter<ConfigurationRecord> waiter =
              new ServletWaiter<ConfigurationRecord>("updateConfiguration");
  
          _omgr.postRunnable(new Runnable() {
              public void run () {
                  DObject object = _confReg.getObject(key);
                  object.startTransaction();
  
                  int updateCount = 0;
                  for (ConfigField update : updates) {
                      object.changeAttribute(update.name, update.type.toValue(update.valStr));
                      updateCount ++;
                  }
                  object.commitTransaction();
  
                  ConfigurationRecord record = buildRecord(key);
                  record.updates = updateCount;
                  waiter.requestCompleted(record);
              }
          });
  
          return waiter.waitForResult();
      }
docs: from interface ConfigService