def METHOD_NAME(self, value, every=1, suffix=''):
    """ Updates the amount, and writes to stdout.
    Prints a carriage return first, so it will overwrite the current line in stdout.
    """
    if value % every == 0 or value >= self.max:
        self.update_amount(newAmount=value, suffix=suffix)
        if self.print_msg:
            sys.stdout.write('\r' + self.prog_bar)
            sys.stdout.flush()