update header footer style.