update code block in markdown