updating script for networks