Rewrite some method, update some thread.