modify base path for upload file