update models/index.js