Section 54F does not provide for exemption on investment in renovation or modification of an existing house.
On the other hand, construction of a house only qualifies for exemption on the investment. Even addition of a floor of a self contained type to the existing house would have qualified for exemption.