updating links to posts