changing edges