// convert the user list to the new parameters format
Map<String, String> params = new HashMap<String, String>();
params.put(UsernameActivationStrategy.PARAM_USERS, users);
String paramData = serializer.serialize(params);
resultSet.updateString(Columns.STRATEGY_PARAMS, paramData);
// only overwrite strategy ID if it is not set yet
String strategyId = resultSet.getString(Columns.STRATEGY_ID);
if (Strings.isBlank(strategyId)) {
resultSet.updateString(Columns.STRATEGY_ID, UsernameActivationStrategy.ID);