update the image part