update wallet to latest code from omniwallet