added hooks for mutative operations on nodes