Update controllers.js

updated it