update header of layout