add edit fonction form interface and change network discovery