update buttons panel