[Fix] Updated Vault dependency

[Fix] Updated the vault dependency and modified methods that were deprecated in the Vault API.