update code for deleting node..