move sector update events to inside of the wallet