updating the code block