update java and nodejs versions