[DOC] updating code blocks