substitute the sink of the reference image with the one of the uploaded image