@Override public int update( Uri uri, ContentValues contentValues, String selection, String[] selectionArgs) { ItemSelect sel = ItemSelect.forUpdate() .withItemUriPredicate(isItemUri) .selectionFor(uri, selection, selectionArgs); int updated = rateDatabase.update(RATE_CONTENT, contentValues, sel.selection, sel.selectionArgs); if (updated > 0) { getContext().getContentResolver().notifyChange(uri, null); } return updated; }