Updated Node model class