update image format, too