write app_data to shared/config