updates links in post