updated doc with node example