first iteration : backpropagation