remove the original image when a new image is uploaded