Nan upgrade

- [ ] need to fix failing tests