redid upload process to be more direct with the API endpoint instead of indirect with AWS s3