Use this API to update dbdbprofile resources.
333208
public static base_responses update(nitro_service client, dbdbprofile resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dbdbprofile updateresources[] = new dbdbprofile[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new dbdbprofile();
				updateresources[i].name = resources[i].name;
				updateresources[i].interpretquery = resources[i].interpretquery;
				updateresources[i].stickiness = resources[i].stickiness;
				updateresources[i].kcdaccount = resources[i].kcdaccount;
				updateresources[i].conmultiplex = resources[i].conmultiplex;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
736150
protected function refreshDatabaseSettings()
    {
        /** @var Database $database */
        $database = $this->getDatabaseInfo();
        $settings = file_get_contents($this->settingLocalFile);

        // Replace database properties based on database info.
        foreach ($database->asArray() as $property => $value) {
            $settings = $this->replaceDatabaseProperty(
                $property,
                $value,
                $settings
            );
        }

        // Replace the namespace property based on the database protocol.
        $namespace_base = addslashes('Drupal\\\\Core\\\\Database\\\\Driver\\\\');
        $settings = $this->replaceDatabaseProperty(
            'namespace',
            "{$namespace_base}{$database->getProtocol()}",
            $settings
        );

        // Check if file contents whats updated.
        $status = file_put_contents($this->settingLocalFile, $settings);

        if (false === $status) {
            throw new \Exception(
                sprintf('Unable to refresh database settings in (%s).', $this->settingLocalFile)
            );

            return false;
        }

        return true;
    }
408642
public void addNew() throws DBException
    {
        this.getRecord().setEditMode(Constants.EDIT_NONE);
        m_objectID = null;
        m_dataSource = null;
        try   {
            this.doAddNew();
            m_iRecordStatus = DBConstants.RECORD_NEW;
        } catch (DBException ex)   {
            throw ex;
        }
        this.getRecord().setEditMode(Constants.EDIT_ADD);   // I do this before the handleNewRecord behaviors do anything
        this.getRecord().handleNewRecord();   // Display Fields
    }
1269854
def _upgrade_db(self):
        """"""
        migration_path = "_data/migrations"
        sqlite3.connect(self._db_path).close()    # ensure that it exists
        db_url = "sqlite:///" + self._db_path
        backend = yoyo.get_backend(db_url)
        migration_dir = pkg_resources.resource_filename(__package__, migration_path)
        migrations = yoyo.read_migrations(migration_dir)
        assert len(migrations) > 0, "no migration scripts found -- wrong migraion path for " + __package__
        migrations_to_apply = backend.to_apply(migrations)
        backend.apply_migrations(migrations_to_apply)
385443
def profile_update(self, profile):
        
        # warn about missing install_json parameter
        if profile.get('install_json') is None:
            print(
                '{}{}Missing install_json parameter for profile {}.'.format(
                    c.Style.BRIGHT, c.Fore.YELLOW, profile.get('profile_name')
                )
            )

        # update args section to v2 schema
        self.profile_update_args_v2(profile)

        # update args section to v3 schema
        self.profile_update_args_v3(profile)

        # remove legacy script field
        self.profile_update_schema(profile)
1064189
def ConnectionUpdate(self, settings):
    '''
    '''
    connection_path = self.connection_path

    NM = dbusmock.get_object(MANAGER_OBJ)
    settings_obj = dbusmock.get_object(SETTINGS_OBJ)

    main_connections = settings_obj.ListConnections()

    if connection_path not in main_connections:
        raise dbus.exceptions.DBusException(
            'Connection %s does not exist' % connection_path,
            name=MANAGER_IFACE + '.DoesNotExist',)

    # Take care not to overwrite the secrets
    for setting_name in settings:
        setting = settings[setting_name]
        for k in setting:
            if setting_name not in self.settings:
                self.settings[setting_name] = {}
            self.settings[setting_name][k] = setting[k]

    self.EmitSignal(CSETTINGS_IFACE, 'Updated', '', [])

    auto_connect = False
    if 'autoconnect' in settings['connection']:
        auto_connect = settings['connection']['autoconnect']

    if auto_connect:
        dev = None
        devices = NM.GetDevices()

        # Grab the first device.
        if len(devices) > 0:
            dev = devices[0]

        if dev:
            activate_connection(NM, connection_path, dev, connection_path)

    return connection_path
1321953
public static base_responses update(nitro_service client, autoscaleprofile resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			autoscaleprofile updateresources[] = new autoscaleprofile[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new autoscaleprofile();
				updateresources[i].name = resources[i].name;
				updateresources[i].url = resources[i].url;
				updateresources[i].apikey = resources[i].apikey;
				updateresources[i].sharedsecret = resources[i].sharedsecret;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
329679
private void updateDb(String dbName, String webapp) {

        m_mainLayout.removeAllComponents();
        m_setupBean.setDatabase(dbName);
        CmsDbSettingsPanel panel = new CmsDbSettingsPanel(m_setupBean);
        m_panel[0] = panel;
        panel.initFromSetupBean(webapp);
        m_mainLayout.addComponent(panel);
    }
926046
public static base_responses update(nitro_service client, authenticationauthnprofile resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			authenticationauthnprofile updateresources[] = new authenticationauthnprofile[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new authenticationauthnprofile();
				updateresources[i].name = resources[i].name;
				updateresources[i].authnvsname = resources[i].authnvsname;
				updateresources[i].authenticationhost = resources[i].authenticationhost;
				updateresources[i].authenticationdomain = resources[i].authenticationdomain;
				updateresources[i].authenticationlevel = resources[i].authenticationlevel;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
115483
public <F> void updateProfileField(ProfileField<F, ?> field, F value) {
		if (field.isSingle()) {
			getResourceFactory()
					.getApiResource("/user/profile/" + field.getName())
					.entity(new ProfileFieldSingleValue<F>(value),
							MediaType.APPLICATION_JSON_TYPE).put();
		} else {
			getResourceFactory()
					.getApiResource("/user/profile/" + field.getName())
					.entity(new ProfileFieldMultiValue<F>(value),
							MediaType.APPLICATION_JSON_TYPE).put();
		}
	}
201591
public static base_response update(nitro_service client, nshttpprofile resource) throws Exception {
		nshttpprofile updateresource = new nshttpprofile();
		updateresource.name = resource.name;
		updateresource.dropinvalreqs = resource.dropinvalreqs;
		updateresource.markhttp09inval = resource.markhttp09inval;
		updateresource.markconnreqinval = resource.markconnreqinval;
		updateresource.cmponpush = resource.cmponpush;
		updateresource.conmultiplex = resource.conmultiplex;
		updateresource.maxreusepool = resource.maxreusepool;
		updateresource.dropextracrlf = resource.dropextracrlf;
		updateresource.incomphdrdelay = resource.incomphdrdelay;
		updateresource.websocket = resource.websocket;
		updateresource.reqtimeout = resource.reqtimeout;
		updateresource.adpttimeout = resource.adpttimeout;
		updateresource.reqtimeoutaction = resource.reqtimeoutaction;
		updateresource.dropextradata = resource.dropextradata;
		updateresource.weblog = resource.weblog;
		updateresource.clientiphdrexpr = resource.clientiphdrexpr;
		updateresource.maxreq = resource.maxreq;
		updateresource.persistentetag = resource.persistentetag;
		updateresource.spdy = resource.spdy;
		return updateresource.update_resource(client);
	}
1018687
protected function update()
    {
        DbTable::update($this->db, $this->_tableName, $this->_cols, $this->id);
    }
204584
public int update(SQLiteDatabase db, ContentValues values) {
        assertTable();
        return db.update(mTable, values, getSelection(), getSelectionArgs());
    }
28976
public static base_response update(nitro_service client, autoscaleprofile resource) throws Exception {
		autoscaleprofile updateresource = new autoscaleprofile();
		updateresource.name = resource.name;
		updateresource.url = resource.url;
		updateresource.apikey = resource.apikey;
		updateresource.sharedsecret = resource.sharedsecret;
		return updateresource.update_resource(client);
	}
310745
public static base_response add(nitro_service client, netprofile resource) throws Exception {
		netprofile addresource = new netprofile();
		addresource.name = resource.name;
		addresource.td = resource.td;
		addresource.srcip = resource.srcip;
		return addresource.add_resource(client);
	}
1346752
def update(self,o):
        """"""

        self.open()

        try:
            self._db.update(o._db)
        except AttributeError:
            self._db.update(o)
1257226
def update_service_profile(self, service_profile, body):
        """"""
        return self.put(self.service_profile_path % (service_profile),
                        body=body)