Added NodeService method setAttributes