add targets to links table