update way ip is detected