update post: using code snippets syntax