Trigger update to all registered materials.
196157
function (material) {
    var materials = this.materials;
    Object.keys(materials).forEach(function (uuid) {
      materials[uuid].needsUpdate = true;
    });
  }
535940
def update(self, *args, **kwargs):
        """"""
        for system in self.systems:
            system.update(self, *args, **kwargs)
833408
def before_update(mapper, conn, target):
        """"""

        assert target.datatype or target.valuetype

        target.name = Column.mangle_name(target.name)

        Column.update_number(target)
515544
function upgradeAllRegisteredInternal() {
    for (var n = 0; n < registeredComponents_.length; n++) {
      upgradeDomInternal(registeredComponents_[n].className);
    }
  }
1172242
private function updateRepr()
    {
        $this->message = $this->rawMessage;
        $items = "'" . implode("', '", $this->items) . "'";
        $this->message = strtr($this->message, ['%name%' => $this->itemName, '%items%' => $items]);
    }
30187
def updateItem(self, instance, subKey, value):
    """"""
    instanceId = statsId(instance)

    container = _Stats.getContainerForObject(instanceId)
    self._aggregate(instanceId, container, value, subKey)
16623
void update() {
        Application.update(filter, list, main, footer, toggleAll, count, clearCompleted);
    }
730437
def register_success(self, upgrade):
        """"""
        u = Upgrade(upgrade=upgrade.name, applied=datetime.now())
        db.session.add(u)
        db.session.commit()
94834
function updateAll (state, prefix, changedProperties) {
  var type = typeof changedProperties
  var docs

  if (type !== 'object' && type !== 'function') {
    return Promise.reject(new Error('Must provide object or function'))
  }

  var options = {
    include_docs: true
  }

  if (prefix) {
    options.startkey = prefix
    options.endkey = prefix + '\uffff'
  }

  return state.db.allDocs(options)

  .then(function (res) {
    docs = res.rows
      .filter(isntDesignDoc)
      .map(function (row) {
        return row.doc
      })

    docs.forEach(addTimestamps)

    if (type === 'function') {
      docs.forEach(changedProperties)
      return docs
    }

    return docs.map(function (doc) {
      assign(doc, changedProperties, {_id: doc._id, _rev: doc._rev, hoodie: doc.hoodie})
      return doc
    })
  })

  .then(bulkDocs.bind(null, state))
}
532751
private function updateRegistry()
    {
        if (!file_exists($this->listFilePath)) {
            $this->dumpRegistry();
        } else {
            $actualization = filemtime($this->listFilePath);
            if ($actualization > $this->registryActualTime) {
                $this->storage = require $this->listFilePath;
                $this->registryActualTime = $actualization;
            }
        }
    }
672775
def activated(self, item):
        """"""
        data = self.data.get(id(item))
        if data is not None:
            fname, lineno = data
            self.sig_edit_goto.emit(fname, lineno, '')
1223030
public function updateAll() {
    // Disable alias since we are targeting specific uri.
    $this->config->set('drush.alias', '');

    foreach ($this->getConfigValue('multisites') as $multisite) {
      $this->updateSite($multisite);
    }
  }
1228794
def trigger_update_by_trigger_name(self, trigger_name, data, **kwargs):
        ""
        api_path = "/api/v2/triggers/{trigger_name}"
        api_path = api_path.format(trigger_name=trigger_name)
        return self.call(api_path, method="PUT", data=data, **kwargs)
1337024
public function updateSlugs()
    {
        $allRecords = $this->all();

        if ($allRecords) {
            foreach($allRecords as $record) {
                $activeRecord = $this->find($record->id);
                $activeRecord->update([
                    $this->getSlugColumn() => $this->buildSlug()
                ]);
            }
        }
    }
594624
protected function updateTrigger()
    {
        $this->controlAccess('trigger_edit');

        if ($this->trigger->update($this->data_trigger['trigger_id'], $this->getSubmitted())) {
            $this->redirect('admin/settings/trigger', $this->text('Trigger has been updated'), 'success');
        }

        $this->redirect('', $this->text('Trigger has not been updated'), 'warning');
    }
202461
def update(collection_name, upsert, multi, spec,
           doc, safe, last_error_args, check_keys, opts, ctx=None):
    """"""
    if ctx:
        return _update_compressed(
            collection_name, upsert, multi, spec, doc, check_keys, opts, ctx)
    return _update_uncompressed(collection_name, upsert, multi, spec,
                                doc, safe, last_error_args, check_keys, opts)
1150927
def _on_automation_update(self, event):
        """"""
        event_group = TIMELINE.AUTOMATION_EDIT_GROUP

        if isinstance(event, (tuple, list)):
            event = event[0]

        for callback in self._event_callbacks.get(event_group, ()):
            _execute_callback(callback, event)