update post and link