Yes, it is clearly better compared to the OE400. Less feeling of pressure, better filtering of noise and, at least it seems that way to me, more frequencies are filtered.
I do not know the OE400. But I can say that the ANC function of the OE500 is rather weak compared to a Sony WH-1000XM3. But considering the price difference, this is to be expected.