add delete action for domain class