update upload js