update AI computation rules