update header & footer