updated API and node types