code: def update(self):
          '''Draws directly to the terminal any UI elements in the tree that are
          marked as having been updated. UI elements may have marked themselves
          as updated if, for example, notable attributes have been altered, or
          the :attr:`updated` element may be set to ``True`` explicitly by your
          program. The drawing and layout logic are exactly the same as for
          :meth:`draw`.
          '''
          super().update(
              self.default_format, terminal=self.terminal, styles=self.stylef update(self):
          '''Draws directly to the terminal any UI elements in the tree that are
          marked as having been updated. UI elements may have marked themselves
          as updated if, for example, notable attributes have been altered, or
          the :attr:`updated` element may be set to ``True`` explicitly by your
          program. The drawing and layout logic are exactly the same as for
          :meth:`draw`.
          '''
          super().update(
              self.default_format, terminal=self.terminal, styles=self.style)
docs: Draws directly to the terminal any UI elements in the tree that are
          marked as having been updated. UI elements may have marked themselves
          as updated if, for example, notable attributes have been altered, or
          the :attr:`updated` element may be set to ``True`` explicitly by your
          program. The drawing and layout logic are exactly the same as for
          :meth:`draw`.