update header footer