ProgressBar api deprecation warnings

This pull request updates the usage of the ProgressBar gem to the current api