updating data directories