neural_net update