update links in messages