Update flood script