update buttons before breaking them