Update brick.java