Getting closer it is uploading the file and redirecting to the EditMedia page, now I just need to get UploadFile to update the url of the record.