updates to nn