update packet