add makemove which updates last move