def METHOD_NAME(self, entry):
    # update the "last_updated" property if necessary
    lu = entry.get("updated")
    dr = dates.parse(lu)
    if self.last_updated is None or dr > self.last_updated:
        self.last_updated = dr
    # record the entries by date
    if lu in self.entries:
        self.entries[lu].append(entry)
    else:
        self.entries[lu] = [entry]