include agency in setting json
add create_empty_settings callbnack before save