update command toDir