Edit header and index