Update fa_api.sh