Updating the image extension