VTK Web - How to update server data source

This would be a more up to date version to look at.

It also show you how to have your own server methods that can be called by the client.