Update get IP address method