Added the new AI update functions etc. :accept: