updated SmartWallet