update upload class