update smartclient logic