fix bugs of ClientDao.updateProfile