Added a function to update an existing node with an array of values.

Signed-off-by: ihachani <ihachaniuploads@gmail.com>