updating app id and appkey