code: def update(self):
      self.erase_console()
  
      lines = self.get_lines()
      for line in lines:
          self._out.write(line)
  
      self.move_cursor_up(len(lines))
      self.flush()
  
file_path: chainer/chainer/training/extensions/util.py
imports: import collections
  import os
  import sys
  import time
label_desc: Use image node_id 4 for calling the ProgressBar obj's underlying member method code with example usage: obj.update() without return types