updated packet structure