Update blocks field programmatically if we use Layout?

resolved, Programatically update blocks in a layout - #8 by afincato.