This update function selects x neurons with the highest net-inputs and associates the activation value of those units with 1. The activation value of all other units is associated with 0. Afterwards the output value of all neurons will be calculated. The required parameter is x in field1.