I started developing a neural net but I don\'t really understand how to update weights and biases in the hidden layer or lets say there is one factor I do not understand.