Update the selected square after a unit is moved.