update post's content