Update board to use hash instead of array