update longest run nb