update upload api