Change in upload method into Glacier class