actually replace link in frontend

otherwise a redraw because of different weight/certainty etc will not update the model