Update MainBlock.java