update index "add new line"