update flood to support v0.5