Since the new CPU is s smaller type (313 instead of 314), you should also check if the existing blocks can fit in the memory available for the changed CPU.
Right-click on the blocks folder, select Object Properties, and activate the Blocks tab, and check the User program memory .. Size in load memory and System data memory .. Size in lad memory. The sum of both must be able to fit in the RAM memory available.