It updated the image and added the image to the index.