updated network call to match new api