updated first line of file