update dataDir path to working directory