Updating image header size