update  upload function for uno