updateMoveHistory needed Move m in parameters