update node threshold