modified validation to use new api call to set networktype