added uniquecode column to links table