Edit header and footer