add uploading and downloading progress handler