add delete and edit link in the index view