Added control.update() funtion