process_packet update