updated update_board to align with 1-base indexing