add linking and unlinking entries with tags