update footer and header