def _update(self, progress):
        self._file.write('\r')
        i = int(progress * self.WIDTH)
        self._file.write("[%-50s] %3d%%" % ('=' * i, round(progress * 100)))
        self._file.flush()