Update index.rst

The namespace declaration needs to be changed to make the code example working