modify reducer to adapt with new added neuron