code: def update_config_mode(self, prompt=None):
          
          # TODO: Fix the conflict with config mode attribute at connection
          if prompt:
              self.mode = self.driver.update_config_mode(prompt)
          else:
              self.mode = self.driver.update_config_mode(self.prompt)
docs: Update config mode.