only update network config when required