Updating header and footer