update header dettings and vaiables