update progressbar api
Merge pull request #9 from ehrenmurdick/master

ProgressBar api deprecation warning