add new line to index