update first_app_id def