update fig directory