updated on/off buttons