Updating nodes correctly on new_reaction and delete