update footer and header generation