The most glaring example is Roald Dahl’s Charlie and The Chocolate Factory. The Ooompa Loompas were originally African pygmies. When groups complained, Dahl changed them to white skinned, golden-brown haired people from fictiona lLoompaland And Quentin Blake likewise changed is drawings of them.
Tom Paxton’s lovely song about suicide “Now That I’ve Taken my Life” included the lyric
For the solid gold women are standing in line,
And dangling a solid gold key.
The very best hostesses pour me my wine,
Introducing their daughters to me.
That creepy idea was later changed to: to
For the solid gold winners are standing in line
And dangling a solid gold key
They take me to dinner they pour me my wine
They ask very little of me