Update IP_KEY and PORT_KEY