adding in a metadata upload (only) method based on the analysis of the UploadBase code