updating layout with search bar