Create a better way to create update hooks for nodes.