update for packet handling