docs: private URI expand(String url, NetworkUpdateParameters parameters) {
  		String type = null;
  		if (parameters.getUpdateAll()) {
  			type = UPDATE_TYPE_ALL_STRING;
  		}
  		else if (parameters.getUpdateTypes() != null && parameters.getUpdateTypes().size() > 0) {
  			StringBuffer b = new StringBuffer();
  			for (UpdateTypeInput t : parameters.getUpdateTypes() ) {
  				b.append("&type=").append(t);
  			}
  			type = b.toString();
  		}
  
  		Object[] variables = new Object[] {
  				parameters.getUser() == null ? "~" : "id=" + parameters.getUser(),
  				parameters.getRecordCount(),
  				parameters.getRecordStart(),
  				parameters.getSelf() ? "self" : null,
  				type,
  				parameters.getRecordsBefore() == null ? null : parameters.getRecordsBefore().getTime(),
  				parameters.getRecordsAfter() == null ? null : parameters.getRecordsAfter().getTime(),
  				parameters.getShowHidden() ? "true" : null
  		};
  
  		return expand(url, variables, false);
  	}