Update core block code