code: def update(self, size):
          
          if not isinstance(size, int):
              raise ValueError('{} type can not be displayed. '
                               'Please change it to Int.'.format(type(size)))
  
          self.current_size += size
          self.display_queue.put((self.current_size, self.total_length))
docs: Update object size to be showed. This method called while uploading
          :param size: Object size to be showed. The object size should be in bytes.