asyn method for upload and  with progress bar