update length status column