replace xblocks