updating the block ui effect