update image format