working on upload and progress from server