nodejs call java update