New technology for retrofitting non-earthquake-resistant buildings can prevent major damage in old settlements