Read node references and update the code with real node addresses.