Updates an entry with entry_id with the given label

        Parameters
        ----------
        entry_id : int
            entry id of the sample to update.

        label : {int, None}
            Label of the sample to be update.
488085
def update(self, entry_id, new_label):
        
        self.data[entry_id] = (self.data[entry_id][0], new_label)
        self.modified = True
        for callback in self._update_callback:
            callback(entry_id, new_label)
1180533
def update(self, sid, **kwargs):
        
        item = self[sid]
        for attribute, value in kwargs.items():
            item[attribute] = value
        self[sid] = item
1326194
def _update_id(record, new_id):
    
    old_id = record.id
    record.id = new_id

    # At least for FASTA, record ID starts the description
    record.description = re.sub('^' + re.escape(old_id), new_id, record.description)
    return record
154561
def add_entry(id, title, updated, link, options={})
      entries << {
        :id => id,
        :title => title,
        :updated => updated,
        :link => link
        }.merge(options)
    end
212412
def set_page_label(self, page_id, label):
        
        url = 'rest/api/content/{page_id}/label'.format(page_id=page_id)
        data = {'prefix': 'global',
                'name': label}
        return self.post(path=url, data=data)
11114
def add_oid(self,oid,value,label=None):
		""""""
		self.add_oid_entry(oid,'OBJECTID',value,label=label)
899498
def update_entry_attributes(sender, instance, **kwargs):
    
    from ..models import Entry

    entry = Entry.objects.get_for_model(instance)[0]

    default_url = getattr(instance, 'get_absolute_url', '')
    entry.title = getattr(instance, 'title', str(instance))
    entry.url   = getattr(instance, 'url', default_url)
    entry.live  = bool(getattr(instance, 'live', True))

    entry.save()
605132
public void updateEntry(CmsUUID entryId) {

        getChildren(entryId, CmsSitemapTreeItem.getItemById(entryId).isOpen(), null);
    }
1056104
def label_with_id(label_id, options = {})
        if options && options[:index] then
          elements = find_elements(:id, label_id.to_s)
          elements[options[:index].to_i - 1].text
          # label(:id => label_id.to_s, :index => options[:index]).text
        else
          find_element(:id, label_id.to_s).text
        end
      end
318974
def update_row(self, ind, row_data):
        
        if sorted(row_data.keys()) != sorted(self.df.columns):
            # add any new column names
            for key in row_data:
                if key not in self.df.columns:
                    self.df[key] = None
            # add missing column names into row_data
            for col_label in self.df.columns:
                if col_label not in list(row_data.keys()):
                    row_data[col_label] = None
        try:
            self.df.iloc[ind] = pd.Series(row_data)
        except IndexError:
            return False
        return self.df
200141
def set_id(self, value):
        
        if value is None:
            self.__id = value
        if not isinstance(value, str):
            raise TypeError("ID must be set to a String")
        else:
            self.__id = value
446415
def update_experiment(self, id, key, value):
        ''''''
        if id not in self.experiments:
            return False
        self.experiments[id][key] = value
        self.write_file()
        return True
662492
def update(self, alarm, criteria=None, disabled=False, label=None,
            name=None, metadata=None):
        
        uri = "/%s/%s" % (self.uri_base, utils.get_id(alarm))
        body = {}
        if criteria:
            body["criteria"] = criteria
        if disabled is not None:
            body["disabled"] = disabled
        label_name = label or name
        if label_name:
            body["label"] = label_name
        if metadata:
            body["metadata"] = metadata
        resp, resp_body = self.api.method_put(uri, body=body)
1231313
def update_label(self, old_label, new_label, callback=dummy_progress_cb):
        
        current = 0
        total = self.index.get_nb_docs()
        self.index.start_update_label(old_label, new_label)
        while True:
            (op, doc) = self.index.continue_update_label()
            if op == 'end':
                break
            callback(current, total, self.LABEL_STEP_UPDATING, doc)
            current += 1
        self.index.end_update_label()
720863
def update_subject_identifier_on_save(self):
        
        if not self.subject_identifier:
            self.subject_identifier = self.subject_identifier_as_pk.hex
        elif re.match(UUID_PATTERN, self.subject_identifier):
            pass
        return self.subject_identifier
957709
def update_id(self, sequence_id=None):
        """"""

        if sequence_id:
            self.sequence_id = sequence_id

        self._set_ids(force=True)

        if self.dataset:
            self._update_names()
801115
def add_label(self, doc, label, update_index=True):
        
        label = copy.copy(label)
        assert(label in self.labels.values())
        doc.add_label(label)
        if update_index:
            self.upd_doc(doc)
            self.commit()