updata some api