added pause/resume upload