button class update