sendPacket updated