update datadir path