update html form of links