modify method updateFooterViews()