update upload script