Update grid-state.js