updating button appearance