Modify the contents of the head