adding code to update the configuration of HAProxy and reload the HAProxy process