The coffee lake refresh (9th gen) are identical other than being 100 MHz faster. So an i5-9400 is 2.9/4.1 GHz base/boost rather than 2.8/4.0 for the 8400. If you're in no rush to build your PC you might as well wait, but the extra 100 MHz isn't going to make a noticeable difference in performance.