Fix links to spark api docs

The links to the spark api docs have changed