docs fix, example code fix for new network syntax