work well, now, implement a way to update only the current line