updated button toggle