update right bar and footer