update buttons and colors