code: def update(self, *names: str) -> 'ListTree':
          
          for name in names:
              parts = name.split(self._delimiter)
              self._root.add(*parts)
          return self
docs: Add all the mailbox names to the tree, filling in any missing nodes.
  
          Args:
              names: The names of the mailboxes.