Replace existing condensate pump in order to accommodate pumping water from A/C system out. With proper maintenance this will avoid future flooding.