updated schema
modifying index.js