update datadir