change i5 6400 to i5 7400

Solution
yes you will need to update the BIOS so your motherboard will be able to boot with a 7th gen CPU.i highly doubt you would notice any improvement in speed and performance though.