Fix bug in vault not updating. Issue #11