Update code used in post.