def update(self, incr=<NUM_LIT:1>, force=False):
self.count += incr<EOL>if self.enabled:<EOL><INDENT>currentTime = time.time()<EOL>if force or self.count == self.total orcurrentTime - self.last_update >= self.min_delta:<EOL><INDENT>self.last_update = currentTime<EOL>self.refresh(elapsed=currentTime - self.start)<EOL><DEDENT><DEDENT>
Args:
    incr(int): Amount to increment ``count`` (Default: 1)
    force(bool): Force refresh even if ``min_delta`` has not been reached

Increment progress bar and redraw

Progress bar is only redrawn if ``min_delta`` seconds past since the last update