changed upload class