added ajax to delete button