update correct dir