I mean data is not removed or updated in database and it does not throw any exception. Actually onFailure() method always called when i try to update or delete. Please consider that i am talking about the pure source code in documentation (i don't change any line of that and just add a window.alert(...