update appid and appkey