add delete_node API