update image and style