edit header and controller