Re-added updateDirectory call which git lost during cleanup