Fix updateManager corrupting vault problem