updating media reference in post.