Did some changes on the delete function and the README document