Update AICore.js