update the url of the post