updating post image url paths