HD Wallets: implement auto upgrade behaviour and refresh the design doc.