change flow packet generation