update upload and download progress handler