Update loading bar during onprogress of range requests