Downloaded document is uploaded to S3, metadata is then updated.
Fixes to the import process.