Update Code Block node from a separate response

It was impossible to create and update CBN in Custom node workspace. This PR contains appropriate fix
@marimano, One of the things that I noticed yesterday while taking a another look at this PR is it seemed like the preview results under code block nodes were no longer correct.  Is it possible that this piece of code needs an update?