Added a function to update the last_move in the game. Should work, but not tested yet