update S3 temp path directory