add delete ticket function