updates how it gets IP Addresses