update to head and footer