neural network updated