fixed problem: missing "block.getState().update();"