public int update(ContentValues values, String whereClause,
                      String[] whereArgs) {
        return db.update(getTableName(), values, whereClause, whereArgs);
    }
public int update ( ContentValues values , String whereClause , String [ ] whereArgs ) { return db . update ( getTableName ( ) , values , whereClause , whereArgs ) ; }
Update all rows matching the where clause with the provided values

@param values      content values
@param whereClause where clause
@param whereArgs   where arguments
@return updated rows