Add the delete function for the coup_res