def on_electrode_states_updated(self, states):
        '''
        .. versionchanged:: 0.12
            Refactor to use :meth:`on_electrode_states_set`.
        '''
        states['electrode_states'] = \
            states['electrode_states'].combine_first(self.canvas_slave
                                                     .electrode_states)
        self.on_electrode_states_set(states)