update rx packet header