change reference dir