You should be able to update Code::Blocks to its latest version, remove your current SFML binaries, then grab the new SFML pre-compiled binaries and finally open the existing Code::Blocks project.
(If you link SFML statically, you'll need to remove jpeg from your dependency list, as it's not longer needed as dependency).