Tom, have a look at the link below to a thread with advice from Aldby and myself on the sprocket change for the Nexus 7. The job is similar for the 8 speed:
Sprocket change
The next link below is to the technical document for the Nexus 8 for the cable adjustment afterwards:
Nexus 8 PDF
.