modify all blocks in pages