add missing walletcontroller, fix update after blockchain import, and emitting a transaction