Dynamic change api_url