Solution
Where the cpu is soldered to the motherboard you would need to replace the entire motherboard to one made for that model that has the i7 or i5 on it.