Divide by arity when updating the weight