added progressbar while downloading