I would like to update the number of facilities to choose in a p-median location allocation model using a for loop. It is possible to define the number (p) of facilities when generating the location allocation layer. In this case, in each iteration the demand and facilities have to be located in the network. I was able to build such a model. Is it possible to update the location allocation layer it self, so that it is not necessary to locate the demand and facilities into the network anymore? Do i have to use the tool „Update Analysis Layer Attribute Parameter“ and how the inputs values then look like?