updated to use current ruby-progressbar api