modify codeblock