update lengthView code