change the network object before associating network