Only update callback when a packet is different from its last state