update datapath