added api route for adding node properties