update links for text