interface: update on/off switch