change board editing to reflect the last move