update the style of the code block