update all blocks