API routes to update networks and interfaces.

This allows a way to update what networks are stored and to update
interfaces with IP addresses.