revise number of lines changed