add autoconnect to network attribute