path changes for upload