Update core-object.js