Update controllers.js from iPad