implements link edit