Updating the image file.