added editing functionality via DetailViewDelegate