fix bug of updateClient in ClientDao