update buttons and footer