update ai
ai update, moved some volatile code to *script*.