Update service.js

add select new node function,not finished