edit header code