updating IP address resolution code