Certain aspects of the present disclosure provide a surgical system comprising a pump motor configured to couple to a pump for pumping material through a probe, wherein the probe is connected to the pump through a connector. The surgical system also comprises a control module configured to determine a real-time flow rate through the probe and adjust a current pump rate of the pump to achieve a target flow rate, wherein the current pump rate is adjusted based on the real-time flow rate.