Modified delete to be usingTables

Modified delete to be able to delete things using Tables