neuron layer update working