code block update