updated API_URL variable