Update GUI with edges