Researchers have shown that they can modify antibiotics in a way that could potentially make them more effective against drug-resistant infections.