update button classes