fix: node example syntax updated

fixed node example so it works with new annotation syntax