Update apiuploaddir