python node class updates