def METHOD_NAME(self, size):
    """
    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.
    """
    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))