Updated nest API

https://github.com/gboudreau/nest-api/
Correct some small errors