update AI by @Paracel