update header-first-row flex structure. set space for search