added progressbar for upload process