Update controls.cpp