update packet send logic