fixed: update not using correct line count. reset command