update image before SVGing