private void updateKeys(Context context) throws SQLException {
MassUpdate massUpdate = context.prepareMassUpdate();
massUpdate.select("SELECT id,language,name FROM rules_profiles");
massUpdate.update("UPDATE rules_profiles SET kee=? WHERE id=?");
massUpdate.rowPluralName("profiles");
massUpdate.execute(new MassUpdate.Handler() {
@Override
public boolean handle(Select.Row row, SqlStatement update) throws SQLException {
Long id = row.getLong(1);
String lang = row.getString(2);
String name = row.getString(3);