added delete and edit buttons to index