header footer and main page update