Updata some methods.