modify header snippets