add foreach, mqueue, update node