Fix dir creation on update