Update wisdom-ai.lua