rearrange upload to process