add trigger to clean-up distance table when a site is removed