Add function to delete an node with a certain guid