change packet types