update ai manager