Packet header update