created edit cancel and delete function

created edit cancel and delete function