Replace compromised , damaged breaker panel, add smoke detectors, surge protection , dual function breakers and water heater disconnect as per existing electrical code