This is an old revision of the document!
ALTER TABLE xx CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
CREATE TEMPORARY TABLE tmp SELECT * FROM table WHERE column = X;
UPDATE tmp SET column=YY, autoincr_column=NULL;
INSERT INTO table SELECT * FROM tmp;