update title and footer