delete edge function upgraded

selected edge changes into green