updated network call to match new api
Merge pull request #1 from ha1ogen/network

updated network call to match new api