added ajax to delete