Usually nothing needs to be done to the BIOS when replacing CPUs within the same chip series. However, make sure your motherboard can handle the higher power required from the processor.
Usually, I'd recommend replacing the whole computer with newer equipment, since the Pentium D is 7 years old, but if you already have the parts, my recommendation is too late.
Casey