how much does it cost to modernize a house