As long as there are isolation valves on either side of the pump, you should be okay. You might need new flanges if they are leaking. Please refer to the Grundfos UP Installation Manual for more details.