update generate image