trying to fix directory updates