add app_instance app_record