updating appid