updating wallet to initialize and connect securely and reliably