code update: flooding freq, duration