edit header directive