Update external network and api network