added hook_node_insert snippet