updata client

fix some bugs