Update the complex network example.