Update createNewObject.js