added buttons for edit and delete