Update views.js