Update model.js

renaming