add edit button to index view