Updated the network API.