Update BoxFactory.java