functions: header/footer update