Update GridElement.java