MySQL Update two rows from 2 columns
===

Is there a way to simplify these two statements into one?

    UPDATE items
    SET D1 = 'AAA'
    WHERE D1 = 'BBB'
    
    UPDATE items
    SET D2 = 'AAA'
    WHERE D2 = 'BBB'

I want to set D1 to AAA if D1 is BBB, and D2 to AAA if D2 is BBB. 