added functional edit button to Show view