Should i upgrade

I have a i5 13400F 2.5ghz. 16gb ddr4 and a rx 6700xt 12gb GDDR6. Should upgrade to ddr5 (this includes changing my motherboard)