Update index.md

As stated in the documentation, the successCallback is optional