update glass controller