changing delete and edit to buttons