Update block code.