Update ModelCore.js