update  upload functionality (in prograss)