Update packet header.