update ip and port2