Update perceptron_ntrials