Update SmartClient.cpp