Redefine network only if changed