update instanceArray.js