button variables updates