Update to the last version, fix the random AI, add some comments