update add upload function