add an edit link to index