update image header