Updated ai to 3.0