update packet id