adds delete functionality for party