add database triggers to the Link table