ahis for handle update api add this for handle update api
bool existClientId(int clientId) { return (clients[clientId] != null); }