update network for error logic