update data directory