Implementation of update on Node.