Update rack_api.sh