Function updateSmartProxy does not seem to be working. At first there's a typo in variables (smart_proxy_data vs smart_proxies_data) and at second the the variable is left empty anyway.