Update boardGenerator.js