nodejs updates and recursive example