update flood to work with v0.5