City takes lessons from flood waters