updated to vaultapi