update delete_node() method
writing...