network: update edit_autogen, expand default section for different connection type