update more of the image code