update controls.js