update on off button