[Mod] alter update method
[Mod] add some comments.